package com.example.blog.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @author Admin
 */
@Data
@ApiModel("添加聊天记录入参")
public class AddCommentReqDto {

    @NotBlank(message = "用户id不能为空")
    @ApiModelProperty("用户id")
    private String numberId;

    @NotBlank(message = "直播间id不能为空")
    @ApiModelProperty("直播间id")
    private String roomId;

    @ApiModelProperty("评论用户昵称")
    private String numberName;

    @NotBlank(message = "内容不能为空")
    @ApiModelProperty("内容")
    private String content;

}
